#include <stdio.h>
#include <stdlib.h>
#include "myClass.h"
#include "partPrivate.h"

int main(void)
{
	//分配内存
	CLASS1 *pcls =  newClass1();
	delClass1(pcls);
	pcls = NULL;
	
	CLASS2 * pcls2 = newPartPrivet(); //申请内存
	pcls2->a = 1; //可访问公有成员变量
	pcls2->c = 2; //编译错误，不可访问c成员
	delPartPrivet(pcls2); //释放内存
	pcls2 = NULL;
}
